using MediatR;
using B.S.ReportEvent.ApiNew.Dtos.ResponseDto;
using B.S.ReportEvent.ErrorCode;

namespace B.S.ReportEvent.ApiNew.Commands.Instance
{
    /// <summary>
    /// 查询当前用户待办实例命令
    /// </summary>
    public class GetMyTodoInstancesCommand : IRequest<ApiResult<GetMyTodoInstancesResponseDto>>
    {
        public int UserId { get; set; }
        public GetMyTodoInstancesCommand(string userId)
        {
            UserId = Convert.ToInt32(userId);
        }
    }
}